﻿<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>我的事项</title>
<style>
     th{border-bottom:2px solid #ccc;}
     td{border-bottom:1px solid #ccc; text-align:center}
	 h1{text-align:center}
	 tr td:last-child {text-align:left;width:300px;}
	 tr td:last-child a:first-child{margin-left:50px}
</style>
<script>
   
</script>

</head>
<body>
   <h1>事项列表</h1>
   <table align="center" width="60%" cellspacing="0px">
       
       <tbody><tr>
             
              <th>编号</th>
              <th>账号</th>
              <th>交易余额</th>
              <th>日期</th>
			  <th>操作
                  <a href="take">取款</a>
                  <a href="save">取款</a>
              </th>

       </tr>
       <c:forEach var="r" items="${list}" >
            <tr>

                 <td> ${r.id}</td>
                 <td>${r.account.cardNo}</td>
                 <td>${r.money}</td>
                 <td>${r.oprTime}</td>
                 <td><a href="#">明细</a></td>
           </tr>
       </c:forEach>
       
   </tbody>
   </table>
     

</body></html>